// Copyright (c) 2008 Matthew Johnson
// Licensed under the MIT License (see license.txt)
package actionml.core {
	import actionml.Global;
	
	import flash.utils.Dictionary;
	
	public class DictionaryMethods {
		public static function initialize() {
			Global.initializeExtension(DictionaryMethods, Dictionary);
		}
		public static var instanceMethods:Object = {
			getKeys: function() {
				var keys:Array = [];
				for (var k:* in this) {
					keys.push(k);
				}
				return keys;
			},
			getValues: function() {
				var values:Array = [];
				for (var k:* in this) {
					values.push(this[k]);
				}
				return values;
			}
		};
	}
}